package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.YonbipCorrespondingAuxiliaryItemsMapper;
import com.ruoyi.system.domain.YonbipCorrespondingAuxiliaryItems;
import com.ruoyi.system.service.IYonbipCorrespondingAuxiliaryItemsService;
import com.ruoyi.common.core.text.Convert;

/**
 * 辅助项值转换Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-09-15
 */
@Service
public class YonbipCorrespondingAuxiliaryItemsServiceImpl implements IYonbipCorrespondingAuxiliaryItemsService 
{
    @Autowired
    private YonbipCorrespondingAuxiliaryItemsMapper yonbipCorrespondingAuxiliaryItemsMapper;

    /**
     * 查询辅助项值转换
     * 
     * @param id 辅助项值转换主键
     * @return 辅助项值转换
     */
    @Override
    public YonbipCorrespondingAuxiliaryItems selectYonbipCorrespondingAuxiliaryItemsById(Long id)
    {
        return yonbipCorrespondingAuxiliaryItemsMapper.selectYonbipCorrespondingAuxiliaryItemsById(id);
    }

    /**
     * 查询辅助项值转换列表
     * 
     * @param yonbipCorrespondingAuxiliaryItems 辅助项值转换
     * @return 辅助项值转换
     */
    @Override
    public List<YonbipCorrespondingAuxiliaryItems> selectYonbipCorrespondingAuxiliaryItemsList(YonbipCorrespondingAuxiliaryItems yonbipCorrespondingAuxiliaryItems)
    {
        return yonbipCorrespondingAuxiliaryItemsMapper.selectYonbipCorrespondingAuxiliaryItemsList(yonbipCorrespondingAuxiliaryItems);
    }

    /**
     * 新增辅助项值转换
     * 
     * @param yonbipCorrespondingAuxiliaryItems 辅助项值转换
     * @return 结果
     */
    @Override
    public int insertYonbipCorrespondingAuxiliaryItems(YonbipCorrespondingAuxiliaryItems yonbipCorrespondingAuxiliaryItems)
    {
        return yonbipCorrespondingAuxiliaryItemsMapper.insertYonbipCorrespondingAuxiliaryItems(yonbipCorrespondingAuxiliaryItems);
    }

    /**
     * 修改辅助项值转换
     * 
     * @param yonbipCorrespondingAuxiliaryItems 辅助项值转换
     * @return 结果
     */
    @Override
    public int updateYonbipCorrespondingAuxiliaryItems(YonbipCorrespondingAuxiliaryItems yonbipCorrespondingAuxiliaryItems)
    {
        return yonbipCorrespondingAuxiliaryItemsMapper.updateYonbipCorrespondingAuxiliaryItems(yonbipCorrespondingAuxiliaryItems);
    }

    /**
     * 批量删除辅助项值转换
     * 
     * @param ids 需要删除的辅助项值转换主键
     * @return 结果
     */
    @Override
    public int deleteYonbipCorrespondingAuxiliaryItemsByIds(String ids)
    {
        return yonbipCorrespondingAuxiliaryItemsMapper.deleteYonbipCorrespondingAuxiliaryItemsByIds(Convert.toStrArray(ids));
    }

    /**
     * 删除辅助项值转换信息
     * 
     * @param id 辅助项值转换主键
     * @return 结果
     */
    @Override
    public int deleteYonbipCorrespondingAuxiliaryItemsById(Long id)
    {
        return yonbipCorrespondingAuxiliaryItemsMapper.deleteYonbipCorrespondingAuxiliaryItemsById(id);
    }
}
